package com.jiji.miaosha.entity;

import lombok.Data;


@Data
public class Order {
    private String id;//订单ID
    private Integer userId;//购买的用户ID
    private Integer itemId;//购买的商品ID
    private Double itemPrice;//购买商品的单价
    private Integer amount;//购买数量
    private Double orderPrice;//购买金额
    private Integer promoId;//秒杀活动ID，若非空，则表示是以秒杀商品方式下单
}
